﻿using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.Develop.DTO.DevelopProjectCustomer;

/// <summary>
///     项目客户管理新增模型
/// </summary>
public class DevelopProjectCustomerAddDTO
{
    /// <summary>
    ///     客户编码
    /// </summary>
    [Required(ErrorMessage = "客户编码不可为空")]
    public string Code { get; set; }

    /// <summary>
    ///     客户名称
    /// </summary>
    [Required(ErrorMessage = "客户名称不可为空")]
    public string Name { get; set; }

    /// <summary>
    ///     客户电话
    /// </summary>
    [Required(ErrorMessage = "客户电话不可为空")]
    public string Phone { get; set; }

    /// <summary>
    ///     客户备注
    /// </summary>
    public string? Remark { get; set; }
}